Generate RGBA=R|G|B|A helper constant for ColorComponentFlags#537
Merged
Generate RGBA=R|G|B|A helper constant for ColorComponentFlags#537
RGBA=R|G|B|A helper constant for ColorComponentFlags#537Conversation
Collaborator
Author
|
Not sure if this is the "right" way, perhaps it's cleaner to throw this as a manual |
1d70447 to
2264ad4
Compare
Collaborator
|
I'd lean towards handwriting this. Happy to have it otherwise, though! |
2264ad4 to
e9635c8
Compare
Collaborator
Author
|
Much cleaner and simpler indeed :) |
|
Looks great! 💖 |
Ralith
reviewed
Dec 28, 2021
MarijnS95
added a commit
that referenced
this pull request
Jan 3, 2022
Ralith
pushed a commit
that referenced
this pull request
Jan 3, 2022
Ralith
pushed a commit
that referenced
this pull request
Jan 22, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #536
When the misleading
all()function was removed in #478 it also made all color components forColorComponentFlagssignificantly more verbose to write, see #536.